<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>新建客户信息</title>
</head>
<body>
    <h1>新建客户信息</h1>
    <form method="post" action="docustadd">
        <p>客户名称:<input type="text" name="cust_name"></p>
        <p>负责人id:<input type="text" name="cust_user_id"></p>
        <p>创建人id:<input type="text" name="cust_create_id"></p>
        <p>客户信息来源:<select name="cust_source">
            <option value="">---请选择---</option>
            <c:forEach items="${list1}" var="a">
                <option value="${a.dict_id}" <c:if test="${cust_source==a.dict_id}">selected</c:if> >${a.dict_item_name}</option>
            </c:forEach>
        </select>
        </p>
        <p>客户所属行业:<select name="cust_industry">
            <option value="">---请选择---</option>
            <c:forEach items="${list2}" var="a">
                <option value="${a.dict_id}" <c:if test="${cust_industry==a.dict_id}">selected</c:if> >${a.dict_item_name}</option>
            </c:forEach>
        </select>
        </p>
        <p>客户级别:<select name="cust_level">
            <option value="">---请选择---</option>
            <c:forEach items="${list3}" var="a">
                <option value="${a.dict_id}" <c:if test="${cust_level==a.dict_id}">selected</c:if> >${a.dict_item_name}</option>
            </c:forEach>
        </select>

        </p>
        <p>联系人:<input type="text" name="cust_linkman"></p>
        <p>固定电话:<input type="text" name="cust_phone"></p>
        <p>移动电话:<input type="text" name="cust_mobile"></p>
        <p>邮政编码:<input type="text" name="cust_zipcode"></p>
        <p>联系地址:<input type="text" name="cust_address"></p>

        <input type="submit" value="提交">
    </form>
</body>
</html>
